import React, { Component } from 'react';

class Navbar extends Component {
    render() {
        return (
            <div style={{background:"skyblue",textAlign:"center",overflow:"hidden"}}>
                <button style={{float:"left"}}>Back</button>
                <h3>卖座电影</h3>
                <button style={{float:"right"}} onClick={()=>{
                    this.props.myevent()
                }}>center</button>
            </div>
        );
    }
}

export default Navbar;